{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}添加学生信息{% endblock %}

{% block content %}
<div class="container">
    <div class="page-header">
        <h1>添加新学生信息</h1>
    </div>

    <div class="col-md-6" style="background-color: #f8f9fa; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
        {{ wtf.quick_form(form) }}
        <br>
        <a class="btn btn-default" href="{{ url_for('main.index') }}">返回学生列表</a >
    </div>
</div>
{% endblock %}